package com.xue.mapper;

import com.xue.pojo.EmpExpr;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMapper {
    /*
    * 批量加入工作经历
    * */
    void save(List<EmpExpr> exprList);


    void delete(List<Integer> asList);

    /*
    * 根据员工id查询工作经历
    * */
    @Select("select * from emp_expr where emp_id = #{id}")
    List<EmpExpr> listByEmpId(Integer id);
}
